﻿using SqlSugar;
using Sunlight.Manage.Common.BaseCore.Entity.DTO;
using Sunlight.Manage.Common.ValidateRules;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace Sunlight.Manage.Model.Domain.DTO
{
    public class SysUserDTO:BaseDTO
    {
         
        public int UserId { get; set; }

        [LgRequired("用户名称不能我空")]
        public string? Name { get; set; }

        [LgRequired("用户密码不能我空")]
        public string? Password { get; set; }

        public string? Phone { set; get; }

        public string? Mobile { set; get; }

        public string? Address { set; get; }

        public string? Email { set; get; }

        [CustomValueIsNum("必须为数字")]
        public long QQ { set; get; }

        public string? WeChat { set; get; }

        public int Sex { set; get; }

        public int Status { set; get; }

        public DateTime LastLoginTime { set; get; }

    }
}
